<?php

/**
 * Template part for displaying page content in page.php
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Wordkit
 */

?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> class="uk-article">

	<header>

		<div class="uk-margin-large-bottom">
			<?php wordkit_post_thumbnail(); ?>
		</div>

		<?php the_title('<h2 class="uk-article-title">', '</h2>'); ?>
	</header>

	<div class="uk-margin">
		<?php
		the_content();

		wp_link_pages(array(
			'before' => '<ul class="uk-pagination uk-link-reset">',
			'after'  => '</ul>',
			'link_before'  => '<li>',
			'link_after'  => '</li>',
		));
		?>
		<div class="uk-float-right uk-button uk-button-text uk-link-reset">
			<?php
			edit_post_link();
			?>
		</div>
	</div><!-- .uk-margin -->
	<footer>
		<?php
		wordkit_posted_by()
		?>
	</footer>
</article><!-- #post-<?php the_ID(); ?> -->